package com.example.sixgod;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

import java.util.List;

@Dao
public interface guaDao {
    @Insert
    void insertGua(guaxiang... guas);
    @Query(" SELECT * FROM guaxiang ")
    List<guaxiang> getAllGua();
    @Query(" SELECT * FROM guaxiang WHERE value = :value ")
    guaxiang getGuaByValue(String value);

}
